//package com.whyx.project.openapi.job;
//
//
//import org.apache.log4j.Logger;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.scheduling.annotation.EnableScheduling;
//import org.springframework.scheduling.annotation.Scheduled;
//
//import java.util.Date;
//
////
////import java.util.Date;
////
/////**
//// * Created with IDEA
//// * author:cj
//// * Date:2018/8/22
//// * Time:17:12
//// **/
//@Configuration
//@EnableScheduling
//public class ScheduleJob {
//    private final Logger log =  Logger.getLogger(ScheduleJob.class);
//
//    @Autowired
//    private KeyLoader keyLoader;
//
//
////    @Scheduled(cron = "0 0 0 * * ? ")//每天0点跑一次
//    @Scheduled(cron = "0 0/2 * * * ?")//2分钟跑一次
//    public void doSchedule(){
//        log.info(new Date()+"开始更新缓存秘钥");
//        try {
//
//        } catch (Exception e) {
//            e.printStackTrace();
//        }
//        log.info(new Date()+"更新缓存秘钥结束");
//    }
//
//
//}
